/**
 * Created by Administrator on 2019/09/10.
 */
abstract class Shape(val sides:List<Double>) {

    val perimeter:Double get() = sides.sum()

    abstract fun calculateArea() : Double
}